<#include "/includes/header.ftl">


<div id='productlist_brands'>
	<#include "/includes/leftbar.ftl">
</div>

<div id='productlist_contents'>
  <form name="edit_store_profile" action='<@spring.url "/editwebsiteprofile.php"/>' method="post" onsubmit="return check_form(create_account);">
         <@spring.bind "command.website.sysId" />
         <INPUT type='hidden' name='wbsid' value='${spring.status.value}'>
		<div><b>Edit Website Profile</b>&nbsp;<A href='<@spring.url "/updatewebsiteprimarycategory.php?type=area&wbsid=${spring.status.value}"/>'>Set Primary Area</A></div>
		<div class="label">Website Id:</div>
		<div>
	          <@spring.bind "command.website.id" />
	          ${spring.status.value?default("")}
		</div>
		
		<div class="label">Website Name:</div>
		<div>
	          <@spring.bind "command.website.name" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("Please Input Your Company Name")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		<div class="label">Website Full Name:</div>
		<div>
	          <@spring.bind "command.website.fullName" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("Please Input Your Company Name")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		
		<div class="label">Short Desc:</div>
		<div>
	          <@spring.bind "command.website.shortDesc" />
	          <textarea  name="${spring.status.expression}" cols="60" rows="5">${spring.status.value?default("")}</textarea>&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		
		<div class="label">Status:</div>
		<div>
	      <@spring.bind "command.website.status" />
		      <#assign status = spring.status.value?default(1002)>
			  <INPUT type="radio" name="${spring.status.expression}" value="1002" <#if status == 1002>checked</#if>>申请审批&nbsp;&nbsp;
			  <INPUT type="radio" name="${spring.status.expression}" value="1004" <#if status == 1004>checked</#if>>审批通过&nbsp;&nbsp;
	      <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</div>
		
		
		<div class="label"></div>
		<div>
	    <input type="submit" name="Submit" value="保存" />
		</div>
	</form>		
</div>

<#include "/includes/footer.ftl">